package cn.yougou.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: DELL
 * @date: 2020/12/6 13:57
 * @description:
 */
public class YgUserInfoVo implements Serializable {
    private Integer id; //用户ID
    private String userid;  //用户名
    private String phone;  //手机号码
    private Integer point;  //积分
    private Integer preferentialcard;  //优惠卷
    private Double money;  //余额
    private Integer level;  //等级
    private Integer sex; //性别
    private Integer state; //状态
    private String birthday; //生日
    private String email;  //邮箱

    private String token;

    public YgUserInfoVo(String token) {
        this.token = token;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public YgUserInfoVo() {
    }

    public YgUserInfoVo(Integer id, String userid, String phone, Integer point, Integer preferentialcard, Double money, Integer level, Integer sex, Integer state, String birthday, String email) {
        this.id = id;
        this.userid = userid;
        this.phone = phone;
        this.point = point;
        this.preferentialcard = preferentialcard;
        this.money = money;
        this.level = level;
        this.sex = sex;
        this.state = state;
        this.birthday = birthday;
        this.email = email;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public Integer getPreferentialcard() {
        return preferentialcard;
    }

    public void setPreferentialcard(Integer preferentialcard) {
        this.preferentialcard = preferentialcard;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return "YgUserInfoVo{" +
                "id=" + id +
                ", userid='" + userid + '\'' +
                ", phone='" + phone + '\'' +
                ", point=" + point +
                ", preferentialcard=" + preferentialcard +
                ", money=" + money +
                ", level=" + level +
                ", sex='" + sex + '\'' +
                ", state=" + state +
                ", birthday=" + birthday +
                ", email='" + email + '\'' +
                '}';
    }
}
